@import '~@/theme.less';

.skillsDevelopmentTaxApply {
    &.extraRight {
        // 抵消父级限定的宽度
        margin-right: -10%;
    }

    :global {
        .compare {
            margin-top: 16px;
            margin-bottom: 16px;
            margin-left: 0 !important;
            margin-right: 0 !important;
            padding: 16px 8px 32px 8px;
            background: #fafafa;
            display: flex;

            .compare-item {
                //flex: 1;
                &-title {
                    margin: 0 auto 16px auto;
                    font-size: 16px;
                    font-weight: bold;
                    text-align: center;
                }

                &-body {
                    overflow: auto;
                    background: #fff;
                    box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.06);
                    border-radius: 8px;
                    border: 1px solid #e8e8e8;

                    :global {
                        .ant-table-placeholder {
                            border: unset;
                        }

                        .ant-table {
                            .ant-table-fixed {
                                border: unset;
                            }

                            .ant-tag {
                                border: unset;
                            }

                            [data-row-theme='add'] [data-cell-theme]{
                                color: #13c2c2;
                            }

                            [data-row-theme='delete'] [data-cell-theme]{
                                color: #C2C2C2;
                                text-decoration-line: line-through;
                            }

                            [data-row-theme] [data-cell-theme='modified'] {
                                color: #1890ff;
                            }
                        }

                        .row-hover {
                            [rowspan] {
                                background: @table-row-hover-bg;
                            }
                        }

                        .row-cell-hover {
                            td {
                                background: @table-row-hover-bg;
                            }
                        }

                        tr.row-selected {
                            td:not([rowspan]){
                                background: @table-selected-row-bg;
                            }
                        }
                    }
                }
            }
        }
    }
}

.mb0 {
    margin-bottom: 0;
}

.flex {
    display: flex;

    :global {
        .ant-form-item-label {
            width: auto !important;
            label:not(.ant-form-item-required) {
                margin-left: 10px;
            }
        }
        .ant-form-item-control-wrapper {
            flex: 1;
        }
    }
}
.ml8 {
    margin-left: 8px;
}

.mr8 {
    margin-right: 8px;
}

.info {
    display: inline-block;
    margin-top: 8px;
    line-height: 1.5;
    white-space: pre-line;
    word-break: break-word;
}
